Terahertz spectroscopy of water in inverse micelles