Theoretical study of structure and segregation in 38-atom Ag-Au nanoalloys