Advanced Materials for Energy Storage in Supercapacitors and Capacitive Water Purification