US dollar declines as Iran peace talks reduce safe-haven demand