Distributed-feedback dye laser for picosecond ultraviolet and visible spectroscopy