Molecular theory for moderately concentrated polymer solutions in shear flow