Photochemistry of A1E, a retinoid with a conjugated pyridinium moiety: competition between pericyclic photooxygenation and pericyclization.