Formation of supramolecular polymers and discrete dimers of perylene bisimide dyes based on melamine-cyanurates hydrogen-bonding interactions.