Modulation effect induced by continuous waves in semiconductor optical amplifiers