UV intensity and energy measurement