Dispersion compensation of fiber Bragg gratings in 3100 km high speed optical fiber transmission system