Detection loophole in Bell experiments: How postselection modifies the requirements to observe nonlocality