Thermal investigation of high-power photodiodes