Polypyrrole nanocomposites doped with functional ionic liquids for high performance supercapacitors