Ecologists help migratory birds adapt to climate change