Photo-and thermo-chromism in vacuum-deposited polydiacetylene films