Glass-based nanocomposites