properties and reaction mechanisms of magnesium phosphate