Hydration shells of carbohydrate polymers studied by calorimetry and terahertz spectroscopy.