Charge and spin state of dilute Fe in NaCl and LiF