Oil gains amid US-Iran ceasefire fears