Regeneration of granular activated carbon by an electrochemical process