Intermediate valence-a view of the theoretical situation