A Comparison of Phasing Algorithms for Trios and Unrelated Individuals