Molecular mechanisms contributing to the strength and toughness of glassy polymers