Lattice–gas modeling of electrochemical Langmuir–Hinshelwood surface reactions