Tin-based nanocomposite alloy anodes for lithium-ion batteries