Nickel catalyzed multicomponent stereodivergent synthesis of olefins enabled by electrochemistry, photocatalysis and photo-electrochemistry