Single-molecule whole genome reconstruction and haplotype phasing