Extended X-Ray Absorption Fine Structure: Physical Principles and Data-Analysis