Davis, Orioles outlast Red Sox 5-4 in 13 innings