The effect of coating residual stress on the fatigue life of thermal spray-coated steel and aluminum