Ionic-polymeric models and the amphoteric behavior of water in silicate melts