Nanostructured nickel-cobalt oxide and sulfide for applications in supercapacitors and green energy production using waste water