Using ecological and life-history characteristics for projecting species' responses to climate change