Extended energy loss fine structure technique: an analytical tool for surface and bulk characterization