Correlation between organic component and electrode material: consequences on removal of surfactants from wastewater