Structure and superconductivity of YBa2Cu3O7-x-BaTiO3 composites