Fe3O4–Ag heterostructure nanocrystals with tunable Ag domains and magnetic properties