Study on the thermal characteristics of GaN-based laser diodes