Lucroy homers in Brewers 8-5 win over Giants