Cahill's gem helps Diamondbacks beat Padres 6-0