On the role of microstructure in determining the energy relaxation processes of swift heavy ions in CdTe thin films