Chemical and electronic structure of conjugated polymer/metal interfaces relevant in LED devices