A Continuous Rectangular-Wave Method for Junction Temperature Measurement of Light-Emitting Diodes