One-pot preparation of LiFePO4/C composites