Synthesis of Functionalized Olefins by Cross and Ring-Closing Metatheses