Binomial and ratio-of-Poisson-means frequentist confidence intervals applied to the error evaluation of cut efficiencies