Effect of thermal diffuse scattering on propagation of high energy electrons through crystals