Size dependence of transfer free energies: A hard-sphere-chain- based formalism