Pathways and time scales of ocean heat uptake and high-latitude ventilation