Direct generation of optical vortex pulses