Wavelength switching of picosecond pulses in a self-seeded Fabry-Perot semiconductor laser with external fiber Bragg grating cavities by optical injection