Ni- and Pd-catalyzed synthesis of substituted and functionalized allylic boronates.