gold hits over 6-month high as investors flock to safety