Elongational deformation by shear flow of flexible polymers adsorbed in porous media