Density profiles in a spherical infall model with non-radial motions