Ancient pollen grains found in sediment cores dating back thousands of years are helping scientists to shed light on the earth’s past and future climates.