Orioles beat Red Sox 8-6 in 10 innings