Electrochemical characterization of silicon nanowires as an anode for lithium batteries