Electronic structure of FeF2 and FeF3 studied by x-ray absorption and fluorescence spectroscopy