Plasticity of metal wires in torsion: Molecular dynamics and dislocation dynamics simulations