Phase transition, structure and color-transition behaviors of monocarboxylic diacetylene and polydiacetylene assemblies: The opposite effects of alkyl chain length