Compound with indolocarbazole moieties and devices containing such compound