A hierarchy of compass systems in migratory birds