X-ray Diffraction: Fundamentals and Applications Across Materials, Chemistry, and Pharmaceutical Sciences