A rapid method for combined analysis of common and rare variants at the level of a region, gene, or pathway