Ytterbium triflate catalyzed synthesis of functionalized indole derivatives