Thermodynamic Behavior of Polyalcohols and Speciation Studies in the Presence of Divalent Metal Cations