Glasses for energy applications : atomic scale network structure and properties