A theoretical analysis of the Hohn-Sham and Hartree-Fock orbitals and their use in the determination of electronic properties