Growth of NiO on Ag(001): Atomic Environment, Strain, and Interface Relaxations Studied by Polarization Dependent Extended X-ray Absorption Fine Structure