Photoelectrochemical investigation of electrode–electrolyte interfaces using ultraviolet, pulsed laser irradiation