Numerical simulations of deformable particle lateral migration in tube flow of Newtonian and viscoelastic media