A simple algorithm to infer gene duplication and speciation events on a gene tree | Synapse