Thermal behaviour of the local environment around iodine in fast-ion-conducting AgI-doped glasses