Cyclic imides or amidines of peri-dicarboxylic acids of the anthracene, benzanthrene, or perylene series