An optical method to measure the pulsed laser output power intensity distribution in the focal region