Valence band and Ba core level study of chemically-etched YBa2Cu3O7-δ