Fourier Synthesis of Stable Ultrafast Optical-Pulse Trains Using Three Lasers and an SOA