Molecular-Orbital Treatment for Deep Levels in Semiconductors: Substitutional Nitrogen and the Lattice Vacancy in Diamond