Thermal decomposition of hydroxyapatite structure induced by titanium and its dioxide