Simulation of lifetime (Wöhler fatigue testing) and crack formation in polycrystalline materials