Insights into the electrochemical performance of metal fluoride cathodes for lithium batteries