Common- and rare-variant genetic architecture of heart failure across the allele frequency spectrum