Computes the effective sample size
N_eff = 4 / (1/nCase + 1/nControl) = 4 * nCase * nControl /
(nCase + nControl) for case/control GWAS. Balanced studies
(nCase == nControl) recover the total nCase + nControl;
imbalanced studies give a smaller value, which is the statistically
correct sample size for the RSS likelihood, residual-variance estimation,
kriging, and the N-cutoff filter. Vectorized over nCase /
nControl; entries where either count is NA or <= 0
return NA_real_.