Anharmonic thermal X-ray scattering from potassium chloride, aluminium and silver