Reaction pathway and free energy profile for conversion of π-conjugation modes in porphyrin isomer.