Matching species traits to projected threats and opportunities from climate change