INTERMEDIATE VALENCE : THEORETICAL MODELS FOR ANOMALOUS RARE-EARTH ALLOYS AND COMPOUNDS