Modeling the free energy surfaces of electron transfer in condensed phases