Synthesis of pyrrolopyridines (azaindoles)