Effect of thermal damage on mechanical behavior of a fine-grained sandstone