Tandem cleavage of hydrogenated beta- and gamma-carbolines. New practical synthesis of tetrahydroazocino[4,5-b]indoles and tetrahydroazocino[5,4-b]indoles showing acetylcholinesterase inhibitory activity