Chemical bonding in solids. On the generalization of the concept of bond order and valence for infinite periodical structures