Metal oxyfluorides TiOF2 and NbO2F as anodes for Li-ion batteries