Structure and electrochemical performance of nanostructured Sn–Co alloy/carbon nanotube composites as anodes for lithium ion batteries