Comparison of finite volume and lattice Boltzmann methods for multicomponent flow simulations