HapCUT2: robust and accurate haplotype assembly for diverse sequencing technologies