Directional and wavelength sweep of distributed-feedback dye-laser pulses