Identification of complex genomic rearrangements in cancers using CouGaR