Comparison of theoretical and experimental electronic distributions of Si - Ni and Si - Er alloys