US crude oil inventories rise by 8 million barrels