Effect of extrinsic grain-boundary defects on grain-boundary sliding resistance