All-optical switching in a new polydiacetylene