Climate change and the optimal arrival of migratory birds