Fate and effects of cyanide during wastewater treatment processes