The transition from the adsorbed state to a surface alloy in the Sn/Ni(1 1 1) system