Thin film of a novel polydiacetylene for applications to all-optical signal processing