Terahertz Waves for Communications and Sensing