Microdamage study of granite under thermomechanical coupling based on the particle flow code