Flexible supercapacitors based on carbon nanomaterials