On the efficiency of solar heating in the middle atmosphere