Electron spin resonance shift and linewidth broadening of nitrogen-vacancy centers in diamond as a function of electron irradiation dose.