Terahertz transmission characteristics of high-mobility GaAs and InAs two-dimensional-electron-gas systems