Particle relaxation and its influence on the particle image velocimetry cross-correlation function