Inferring Duplications and Lateral Gene Transfers : An Algorithm for Parametric Tree Reconciliation