Particle dynamics and focusing in confined inertial shear and Poiseuille flows through lattice Boltzmann computations