Calculate thresholds, sample sizes and power for epistatic searches using Bonferroni or permutation