X-ray absorption resonance spectroscopy as a local probe of the electronic structure at metal-semiconductor interfaces and silicide: Pt/Si, Pd/Si, and Yb/Si