Calculation of the in situ pH of seawater1