Dickey, Mets beat Marlins 1-0