Rediscovering the lattice-fluid theory for phase equilibria of complex mixtures