New glacier history sheds light on climate change