Catalytic methods for the synthesis of spirooxindoles, pyrroloindolines, and flavanones