The summary-likelihood method and its implementation in the Infusion package