Ab initio restricted Hartree—Fock and configuration interaction calculations for Li3