Failure prediction in fully coupled thermal and deformational fields with peridynamics