Hygroscopic properties of potassium-halide nanoparticles