Insertion of Lithium Ions into Carbon Nanotubes: An Ab Initio Study