MEDICC2: whole-genome doubling aware copy-number phylogenies for cancer evolution