Gamel hits grand slam and solo HR, Brewers beat SD