The formation condition of a stable Cu–Ga–Mg–Sc icosahedral quasicrystal