Microscopic formulation of Marcus’ theory of electron transfer