Formation of one-dimensional ordered alloy at step edges: an atomistic study of the (2x1) Ni/Pt alloy on the Pt(997) surface