Electron transfer in the membranes of endoplasmic reticulum