Recovering energy from dye wastewater for a new kind of superior supercapacitor material