Characteristics of chirped fiber gratings for dispersion compensation