Synthesis of carbazole derivatives with high quantum yield and high glass transition temperature