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