Sputtered Si and Mg doped hydroxyapatite for biomedical applications