Oil climbs even as weaker demand concerns cap gains