Ratio of the Effective Charge of He Beams Traversing Gaseous and Metallic Cadmium