Microscopic model of NaNO2 in the paraelectric phase