Comparison of Ca2+ and Mg2+ binding to calmodulin. An enthalpy, entropy, and gibbs free energy analysis