Synthesis of the LiFePO4/C core–shell nanocomposite using a nano-FePO4/polythiophene as an iron source