Simulation of Cracks in a Cosserat Medium using the eXtended Finite Element Method