Assembly of porous NiO nanowires on carbon cloth as a flexible electrode for high-performance supercapacitors