A finite element study of microstructure-sensitive plasticity and crack nucleation in fretting