Adsorption of 3,4-ethylenedioxythiophene (EDOT) on noble metal surfaces: a photoemission and x-ray absorption study