Brewers lose twice as regular season nears end