Theoretical Concepts of X-Ray Nanoscale Analysis: Theory and Applications