Perturbed hard-chain theory: An equation of state for fluids containing small or large molecules