A neutral-potassium-beam measurement of plasma density