Text this: Magnesium-doped biphasic calcium phosphate nanopowders via sol-gel method