Rh-catalyzed [5+1] and [4+1] cycloaddition reactions of 1,4-enyne esters with CO: a shortcut to functionalized resorcinols and cyclopentenones.