Thermogravimetric and High-Temperature X-Ray Studies on the Orthorhombic-to-Tetragonal Transition of YBa2Cu3Oy