First-principles study of nitrogen-doped nanographene as an efficient charge transport and nonlinear optical material