Integrated correction of optical distortions for global HR-EBSD techniques.