The effect of optical feedback on the relaxation oscillation in semiconductor lasers