Graph-theoretic approach to Bell experiments with low detection efficiency