Nitration of carbazole and N-alkylcarbazoles