The phase-field simulations of blasting failure in granites