Magnetic fossils powered ancient animal navigation