A powerful approach to sub-phenotype analysis in population-based genetic association studies