N doped cobalt-carbon composite for reduction of p-nitrophenol and pendimethaline