Chemically modified graphene based supercapacitors for flexible and miniature devices