Complete electron economy by pairing electrolysis with hydrogenation