Long-range comparison between genes and languages based on syntactic distances