Cobalt metal–organic framework derived cobalt–nitrogen–carbon material for overall water splitting and supercapacitor