Beckham's sac fly in the 12th lifted Braves past Brewers