The strength changes and failure modes of high-temperature granite subjected to cooling shocks