Thermal transient evaluation and optical characterization of packaged light-emitting diodes