Practical approach to alpha- or gamma-heterosubstituted enoic acids.