Monte Carlo and quasi-Monte Carlo integration for likelihood functions