Transition from concerted to stepwise [2 + 4] cycloaddition reactions of .alpha.,.beta.-unsaturated carboxylic esters