X-Ray Diffraction Line Broadening: Modeling and Applications to High-Tc Superconductors