Orioles overcome 3-run deficit vs Cole, beat Yankees 6-3