Dielectric function of YBa2Cu3O7-δ between 50 meV and 50 eV