Upton's HR in 10th lifts Braves past Nationals 3-2