Demonstration of waferscale voltage amplifier and electrostatic quadrupole focusing array for compact linear accelerators