A combined method for measuring total flux and luminous intensity of LEDs