A fast and practical approach to genotype phasing and imputation on a pedigree with erroneous and incomplete information