Greinke pitches, hits Brewers past D-Backs, 7-1