Mechanism of the cobalt oxazoline palladacycle (COP)-catalyzed asymmetric synthesis of allylic esters.