Optical pulse generation with a frequency shifted feedback laser