The photoisomerization of a cyclic dienamine