A thermomechanical model for catastrophic landslides