Synthesis of fused indoles by sequential palladium-catalyzed Heck reaction and N-heteroannulation