Measuring light output with an integrating sphere