Electrocatalytic Dehalogenation in the Applications of Organic Synthesis and Environmental Degradation