Natural-Orbital Valence-Shell CI Studies of Diatomic Molecules. I. Potential-Energy Curves and Spectra of Imidogen