Which conditions are favorable for the formation of a surface based temperature inversion?