Microstructural characteristics and biocompatibility of a Type-B carbonated hydroxyapatite coating deposited on NiTi shape memory alloy.