Coexistence of high-Tc superconductivity and ferro- or antiferroelectricity in YBa2Cu3O7-δ