Capillary filling using lattice Boltzmann equations: The case of multi-phase flows