Effects of environment on the photophysical characteristics of mesotetrakis methylpyridiniumyl porphyrin (TMPyP).