Modelling the Northern Hemisphere climate and ice sheets during the last deglaciation