Chromatic dispersion monitoring using semiconductor optical amplifier