The Orthorhombic to Tetragonal Transition under Controlled Oxygen Content in High-Tc Superconductor YBa2Cu3Oy