Chemical equilibrium between aqueous fluids and minerals in the marine environment