Effects of grain boundary constraint on properties of polycrystalline materials