Wade homers in fourth as Giants blank Diamondbacks