Dispersion compensation using mid-span spectral inversion without frequency shift