Effect of fluorine incorporation on long-term stability of magnesium-containing hydroxyapatite coatings