UBS expects the spot price of gold to reclaim $2,000 by the year’s end. A declining dollar presents a threat to the stock market.