Oil gains on supply stability and US-Iran talks