Electron-transfer reactions in polymer matrices