Percolation threshold and interface optimization in a HUP/C doublelayer supercapacitor