Experimental study on failure and fracturing attributes of granite after thermal treatments with different cooling conditions