Recent trends in removal and recovery of heavy metals from wastewater by electrochemical technologies