Gold prices hit all-time highs on rate-cut hopes, safe-haven demand