Synthesis of ternary transition metal fluorides Li3MF6via a sol–gel route as candidates for cathode materials in lithium-ion batteries