Comparative study of structure and properties of thermal spray coatings using conventional and nanostructured hydroxyapatite powder, for applications in medical implants