Mechanics of fretting fatigue crack formation