Design of Experiments (DOE) for the Optimization of Titania–hydroxyapatite Functionally Graded Coatings