Terahertz time-domain spectroscopy of crystalline and aqueous systems