Self-consistent-field studies of the electronic structures of cyclopropane and benzene