Biocompatible magnesium-doped biphasic calcium phosphate for bone regeneration.