Atomic orbital expansion study of electron capture in H+ + Li and He2+ + Li collisions