Competition for charge compensation in borosilicate glasses: Wide-angle x-ray scattering and molecular dynamics calculations