Cu(i)- and Au(i)-catalyzed regioselective oxidation of diynes: divergent synthesis of N-heterocycles