Statistical theory for the equilibrium distribution of rigid molecules in inert porous networks. Exclusion chromatography