Surface and bulk composition of YBa2Cu3O6+x compounds studied by XPS