XPS and SAM study of the high Tc superconductor YBa2Cu3O7− x