Transient simulation of climate variability during the Last Glacial Maximum and the Holocene with an energy balance climate model