Dcifer: an IBD-based method to calculate genetic distance between polyclonal infections