A hybrid diffraction method for the design of etched diffraction grating demultiplexers