Influence of nanopores on the transport of gas and gas-condensate in unconventional resources