Recent responses to climate change reveal the drivers of species extinction and survival