Cationic and anionic 1D chains based on NH+…N charge-assisted hydrogen bonds in bipyridyl derivatives and polyiodides