Optical signal processing based on semiconductor optical amplifier and tunable delay interferometer