Trigonal to tetrahedral transitions in CuI six-membered inorganic true heterocycles