Segregation by thermal diffusion in granular shear flows