Preparation and performance of LiFePO4 and LiFePO4/C cathodes by freeze-drying