Terahertz time-domain attenuated total reflection spectroscopy in water and biological solution