Residual stresses in lifetime and structural integrity assessment