Growth and structure of Pd alloys on Cu(100)