Eutectics and the formation of amorphous alloys