Electronic energy-band structures of covalent atomic and partly ion wires ANB8–N