An electro-optic voltage sensor for electron beam position and current monitoring