Conrad ends slump with HR, Brewers top Pirates 5-1