Text this: Synthesis of indoles via intermolecular and intramolecular cyclization by using palladium-based catalysts