Quantification and Phasing of structural variations in cancer genomes