Study of the effect of morphology of nanoporous carbon membranes on permselectivity