Synthesis and Properties of Dicarboximide Derivatives of Perylene and Azaperylene.