Surface alloys as interfacial layers between quasicrystalline and periodic materials