Electronic Structures of NH, NH2, and NH3