Insights into the water status in hydrous minerals using terahertz time-domain spectroscopy