Oil gains on expectations for higher demand and as Middle East concerns rise