Chi-square or McNemar test when data is not totally independent ?