Highly selective intramolecular addition of C–N and S–N bonds to alkynes catalyzed by palladium: a practical access to two distinct functional indoles