Comparison of performance of CuI/g-C3N4 nanocomposites synthesized on Ni-foam and graphitic substrates as suitable electrode materials for supercapacitors