Oil edges up on consumer demand, inventory declines