Intramolecular photochemistry of a vinylogous amide and some transformations of the photoproduct