Extended finite element simulation of crack propagation in fractured rock masses