Thermal expansion of polycrystals with grain boundary sliding