Alloys are often used in preference to pure metals because?