On the mode of formation of tetrahydro-β-carbolines