Particle accelerator on a wafer : demonstration of electron acceleration and diagnostics with microstructures