Analytical and numerical evaluation of the residual stress effects on fatigue crack propagation