Formation of Fe16N2 and development of magnetic anisotropy in a FeN alloy