On the periodic solutions of the 5-dimensional Lorenz equation modeling coupled Rosby waves and gravity waves