A two-component Frenkel–Kontorowa model for surface alloy formation