Mechanisms of ocean heat uptake