Quantifying changes in climate and surface elevation of polar ice sheets during the last glacial-interglacial transition