Syntenic global alignment and its application to the gene prediction problem