Research of EDFA gain flattening based on chirped fiber Bragg grating