Production of γ-rays in K−p and K+p interactions at 32 GeV/c