Transmission gratings for chromatic dispersion compensation