Thermal characteristics of quantum cascade lasers by micro-probe optical spectroscopy