Grain Boundary Phase Transitions and their Influence on Properties of Polycrystals