Thermal modeling of terahertz quantum-cascade lasers: Comparison of Optical Waveguide