Simultaneous incorporation of magnesium and carbonate in apatite: effect on physico-chemical properties