The Bell inequalities and their irrelevance to the problem of locality in quantum mechanics