Interactions of Water in Ionic and Nonionic Hydrates