Long-period fiber gratings in WDM applications