Resonant dissociation of N2 by electron impact