Geometry- and solvent-polarity-dependent photoinduced electron transfer in conformationally restricted magnesium—free-base hybrid diporphyrins