Beltran lifts Cardinals over Brewers in 10th, 7-6