The lowest triplet electronic states of polyacenes and perfluoropolyacenes