The effect of the atmospheric refractive index on the radio signal of extensive air showers