A molecular-orbital study of the ground and excited-state properties of metallocenes of the first-row transitionmetal ions. I