Structures of superconducting Ba2YCu3O7-ϖ and semiconducting Ba2YCu3O6 between 25°C and 750°C