Atomic structure and strength of inorganic glasses