Design and fabrication of an all-dielectric grating with top-hat high diffraction efficiency over a broad spectral range