Generation of a cold, intense relativistic electron beam using a magnetized foilless diode