A review of the extended finite element method on macrocrack and microcrack growth simulations