Thermodynamic modeling and preparation of hafnium carbide coatings in the hafnium–carbon–fluorine system