In vitro formation of hydroxylapatite layer in a MgO-containing glass