A day of mourning has been declared in the Russian republic of Tatarstan after the attack killed 13 people.