On the calculation of air-sea fluxes of CO2 in the presence of temperature and salinity gradients