Design of a low emittance electron gun with GV/m high field