Metal fluoride coating