Simultaneous residual chromatic dispersion monitoring and frequency conversion with gain using a parametric amplifier.