Theory of foil-less diode generation of intense relativistic electron beams