Catalyzed rearrangements of 2-allyloxypyridine and 2-crotyloxypyridine