Stability and Instability in a Two-Dimensional Dynamical System: A Mathematical Approach to Kaldor's Theory of the Trade Cycle