Objectivity, nonlocality, and the Bell inequalities