On the Minimum Error Correction Problem for Haplotype Assembly in Diploid and Polyploid Genomes