Chemical and electronic aspects of metal/conjugated polymer interfaces. implications for electronic devices