The structure and mechanical properties of inorganic glasses