X-Ray Diffuse Scattering Studies Of The Local Structural Inhomogeneities In High Temperature Superconductors