Metathesis of functionalized olefins