Accelerator on a chip : design, fabrication, and demonstration of grating-based dielectric microstructures for laser-driven acceleration of electrons