Oil up on hopes of recovery in demand, lower US inventories