Terahertz excitations in HgTe-based field effect transistors