The samarium-magnesium system: A phase diagram