N2 valence photoionization below and above the 1s-1 core ionization threshold