Multiple-wavelength transmitter for WDM optical network