Frequency stabilization of optical FDM signals by using a fiber-Bragg-grating Fabry-Perot interferometer