Fabrication of a nitrogen-doped carbon catalyst from a precursor polymer using the electron beam irradiation technique