Phase field study of the microstructure evolution and thermomechanical properties of polycrystalline shape memory alloys: Grain size effect and rate effect