Intramolecular interactions in the ground and excited state of tetrakis(N-methylpyridyl)porphyrins.