Optimization of some parameters for the preparation of nanostructured LiFePO4/C cathode