Flexibly tunable multichannel filter and bandpass filter based on long-period fiber gratings.