A mechanism of formation and properties of the void lattice in metals under irradiation