Insights into the Role of Magnesium Ions in Affecting Osteogenic Differentiation of Mesenchymal Stem Cells