Single-mode operation of a repetitively pulsed dye laser