Microstructural characterization of hydroxyapatite coating on titanium