Surface and interface analysis at 3rd generation light sources