Dispersion compensation in transmission using uniform long period fiber gratings