Chemical Equilibria in the Hydrosphere