Fabrication and temperature-dependent magnetic properties of one-dimensional embedded nickel segment in gold nanowires