Synthesis of functionally graded MgCO3 apatite accelerating osteoblast adhesion.