Fossils cast doubt on climate-change projections on habitats