Phase relations of the AgCdAgMg and AgCdAgZn quasibinary alloys