Role of surface functionality in the electrochemical performance of silicon nanowire anodes for rechargeable lithium batteries.