Correlation functions in EPR-type experiments: the low-detection-efficiency loophole