Oil prices ended sharply higher on Monday after the U.S. and Iran renewed hostilities, as the Middle East conflict stretches into its seventh month.