Spectral and luminescent properties of some porphyrin compounds in different electronic states