Incoherent scattering of gamma rays by K-shell electrons