Acid-catalyzed reactions of hapalindoles