Hierarchical Naive Bayes for genetic association studies