Assembly of supramolecular polymers in ultrathin films