Water content and thermal properties of glassy silver metaphosphate: role of the preparation