Regioselective Synthesis Of Hydrazines And Heterocycles By Catalytic And Electrochemical N–N Bond Formation