Formation of new organoselenium heterocycles and ring reduction of 10-membered heterocycles into seven-membered heterocycles