US crude inventories rise for first time in 10 weeks