An approach to evaluate the efficiency of γ-ray detectors to determine the radioactivity in environmental samples