p-n Type Heterostructures Based on N,N′-Dimethyl Perylene-Tetracarboxylic Acid Diimide