Stability and Variability of the Thermohaline Circulation in the Past and Future: a Study with a Coupled Model of Intermediate Complexity