Purification of nickel or cobalt ion containing effluents by electrolysis on reticulated vitreous carbon cathode