Study of the crystal structure of hydroxyapatite in plasma coating