When do tripdoublet states fluoresce? A theoretical study of copper(II) porphyrin