Response of thermohaline circulation and thermal structure to removal of ice sheets and high atmospheric CO2 concentration