Mixed-layer dynamics and buoyancy transports