An electrochromic supercapacitor based on an MOF derived hierarchical-porous NiO film.