Computational problems in genome rearrangements: from evolution to cancer