Effect of oxygen fugacity on the glass transition, viscosity and structure of silica- and iron-rich magmatic melts