Silicon nanowires used as the anode of a lithium-ion battery