An electrochemical investigation of a Sn-Co-C ternary alloy as a negative electrode in Li-ion batteries