Lattice-gas and lattice-Boltzmann models of miscible fluids