High-resolution spectroscopy of SO2 using a frequency-doubled pulsed dye laser, with application to the remote sensing of atmospheric pollutants