Modified embedded atom method potential for Al, Si, Mg, Cu, and Fe alloys