Thousands of animal species threatened by climate change, novel analysis finds