Enhancing biocompatibility and antibacterial activity of Mg/HA (magnesium-hydroxyapatite) composites with silver nanoparticles for orthopedic implant applications