Structural transformation, amorphization, and fracture in nanowires: A multimillion-atom molecular dynamics study