Development of pulsed UV lasers and their application in laser spectroscopy