Nova, Yankees beat Red Sox 3-2 with replay help