US dollar declines amid profit-taking