Synthesis and magnetic properties of gold–iron–gold nanocomposites