Role of Zn and Mg substitutions on the mechanical behaviour of biomimetic hydroxyapatite and insight of the emergence of hydroxyapatite-ZnO nanocomposite