THz quantum cascade lasers based on GaAs/AlGaAs and HgCdTe material systems