Structural characterization of water-bearing silicate and aluminosilicate glasses by high-resolution solid-state NMR