The ocean's transient response to global surface temperature anomalies