Synthesis and characterization of LiFePO4 prepared by sol–gel technique