Thermal cracking characteristics and mechanism of sandstone after high-temperature treatment