Hydroxyapatite as a nanomaterial for tissue engineering and drug therapy