The effect of microclimate on flying dipterans