Double-phase-field formulation for mixed-mode fracture in rocks