Rechargeable LiFePO4 battery