Influence on the Middle Atmosphere of the 27-Day and 11-Year Solar Cycles