Understanding climate change with the help of glaciers