Equilibrium Charge-state Distributions of Heavy-ion Beams after Passage through Carbon Foils