Reds hold on for 107 win over Diamondbacks