The Mechanism of Fracture and Damage Evolution of Granite in Thermal Environment