A study of phosphorus in silicate glass with 31P nuclear magnetic resonance spectroscopy