Molten salt-templated synthesis of ternary NiS–NiCo2O4@C composites as high performance catalysts for 4-nitro phenol reduction and supercapacitor