Optical method of measuring nanosecond pressure pulse in water