Gold rises to all-time high on safe-haven demand, shifting Fed expectations