Application of Slater-Condon Theory with Configuration Interaction to the5d106s6p,5d96s26p,5d106s7p, and5d106s5fConfigurations in Hg i, Tl ii, Pb iii, and Bi iv