Lattice-Boltzmann method for phase-separating liquid-vapor systems