Quantum mechanics versus local realism: compatibility for low detector efficiencies