Oil prices and the US dollar have climbed after American and Iranian negotiators failed to reach a peace agreement on the weekend.