Atomic and Electronic Structure in MgO–SiO2