Deactivating effect of the pyridine n,π* states on the photoreactivity of 5-[2-(pyrid-n-yl)ethenyl]oxazole (n = 2, 3 and 4)