Physical basis of scattering potential at grain boundary of polycrystalline semiconductors