Oil prices rise after inventory report