Melanin-based flexible supercapacitors