Characterization of titanium–hydroxyapatite biocomposites processed by dip coating