A model for the dynamics of polymers in laminar shear flows