Capture of K− mesons in the nuclear periphery