Lattice Boltzmann method for two immiscible components