Behavior of metallic Ce compounds in the intermediate valence and Kondo regimes