Electron transfer at different electrode materials: Metals, semiconductors, and graphene