Characterisation of Microstructure and Residual Stresses in Hydroxyapatite Coatings on Titanium Prostheses