Optical potentials for the elastic scattering ofLi6+C12,Li6+O16, andLi7+C12