Integration of semiconductor optical amplifiers in wavelength division multiplexing photonic integrated circuits