Acceleration and Phase Space Manipulation of Relativistic Electron Beams in Nano- and Micrometer-Scale Dielectric Structures