Dynamics of thermally- and photo-induced phase changes in single crystals of polydiacetylene