Markakis homers in 11th, Orioles beat Nats 2-1