Degradation of Chemical Components of Thermally Modified Robinia pseudoacacia L. Wood and Its Effect on the Change in Mechanical Properties