A lithium-ion battery based on LiFePO4 and silicon nanowires