Temperature dependence of thermal conductivity and boundary resistance in THz quantum cascade lasers