Wyślij emailem: Estimating genome-wide IBD sharing from SNP data via an efficient hidden Markov model of LD with application to gene mapping