Residual Stresses and Stress Intensity Factor Calculations in T-Welded Joints