RA Dickey leads Mets over Diamondbacks 3-1