Intramolecular excimer formation in carbazole double molecules