Electronic phase transition and amorphization in AuIn 2 at high pressure