Oil prices gain as inventories fall and demand picks up