Device for concatenation of phase-shifted long-period grating and its application as gain-flattening fiber filter