First principles study of Li and Li+ adsorbed on carbon nanotube: Variation of tubule diameter and length