Predicting X-ray diffuse scattering from translation-libration-screw structural ensembles.