Dispersion nonlinearity analysis of immersed gratings.