Inorganic-based sol–gel synthesis of nano-structured LiFePO4/C composite materials for lithium ion batteries