Methods of measuring residual stresses in components