Calculation of vapor–liquid equilibrium of multicomponent mixtures using a mean-field lattice–gas model