Bats have a “neural compass” that allows them to keep track of exactly where and which way up they are, scientists say.