Fracture simulation of viscoelastic polymers by the phase-field method