Design, construction and performance of all niobium superconducting radio frequency electron gun