Thermal management of high-power LEDs