Structure, microstructure, and giant magnetoresistance in nanogranular FeAgNi thin films.