Structural properties of the thermoelectric material CuCrS2 and of deintercalated CuxCrS2 on different length scales: X-ray diffraction, pair distribution function and transmission electron microscopy studies