Gold declines as oil prices climb amid U.S.-Iran tensions