Scaling of migration and the annual cycle of birds