Multilevel grating array illuminators manufactured by electron-beam lithography