Oil prices gain after fall in US crude inventories