Thin NaCl films on silver (001): island growth and work function