A thermomechanical breakage model for shock-loaded granular media