Eric Thames and Jesús Aguilar homered to help the Milwaukee Brewers avoid a sweep with a 5-3 victory over the San Francisco Giants on Sunday