The refractive index of air depends on temperature giving rise to refraction effects such as the mirage when the temperature gradient is large