Role of long-lived N2(X1Σg+,v) molecules and N2(A3Σu+) and N2(a'1Σu-) states in the light emissions of an N2 afterglow