A unified approach to fatigue crack propagation in metals and polymers