Diverse Functionalization of Tetrahydro-β-carbolines or Tetrahydro-γ-carbolines via Oxidative Coupling Rearrangement.