Computational study of metal-free N-doped carbon networks as hydrogenation catalysts