Effect of the replacement of aluminum by magnesium on the compressibility and degree of polymerization of silicate glasses