Crystallization of barium magnesium phosphate glasses determined by differential thermal analysis and X-rays diffraction