The theory and application of the concave diffraction grating