Orioles beat Mariners in 13 innings, 7-6