Identification of nitrogen chemical states in N-doped ZnO via x-ray photoelectron spectroscopy