Oil prices gain 2% on hopes of a US Fed rate cut next month