High-Resolution CCD Spectra of Stars in Globular Clusters. III. M4, M13, and M22