Phase stability of Cu2Mg and CuMg2 compounds against noncrystallizations analyzed with a plastic crystal model