Brewers use big inning to top Royals 4-2