Interactions of divalent metal ions with inorganic and nucleoside phosphates. I. Thermodynamics.