Porphyrins XIV. Theory for the luminescent state in VO, Co, Cu complexes