Hydrogen-bonding as a tool for building one-dimensional structures based on dimetal building blocks