Thermogravimetric investigation of the hydration behaviour of hydrophilic matrices