Improvement of directly modulated diode-laser pulses using an optical delay interferometer