Small-scale atmospheric structure deduced from measurements of temperature, humidity and refractive index