Preparation of functionalized hydroindol-3-ols via tandem aza-Cope rearrangement-Mannich cyclizations. Formal total synthesis of (±)-6a-epipretazettine and related alkaloids