Cardinals beat Brewers 7-3