Efficient computation of the joint probability of multiple inherited risk alleles from pedigree data