From diamondoid network to (4,4) net: effect of ligand topology on the supramolecular structural diversity.