Structural origin of the x-ray diffuse scattering in (CH 3 ) 4 NCdCl 3 and related compounds