Electrochemical and in situ investigation of quaternary lithium transition metal fluorides in Li-ion batteries