Combined Diffraction Grating in the Scheme of Grazing Incidence: Calculation and Parameter Optimization