Development of naphthalimide-functionalized thermochromic conjugated polydiacetylenes and their reversible green-to-red chromatic transition in the solid state