Measurement of the electromagnetic interaction of the neutral kaon