The temperature dependence of atomic displacements in potassium iodide