Deposition of AuxAg1-xAuyAg1-y multilayersand multisegment nanowires