Palladium-catalyzed functionalization of 5- and 7-azaindoles