Electrochemical properties of a novel Ni-doped nanoporous carbon