The exchange of oxygen and carbon dioxide between the ocean and the atmosphere