Hierarchical simulations for the design of supertough nanofibers inspired by spider silk