Stability of non‐parallel and parallel basic flows in the semi‐geostrophic model in isentropic coordinates