Valence fluctuations of ytterbium in silicon-rich compounds