Old stellar populations. III. The metallicities of M 5, M 71, and M 67.