Applications of Bartoli indole synthesis