Quasicrystal formation and phase transitions by ball milling