High-resolution optogalvanic study of the c4(0)1Πu, c′5(0)1Σu+, and a″(0)1Σg+ Rydberg states of N2