A corporation or a subsidiary of a corporation may not make a distribution to the corporation's shareholders on any shares of its stock of a class or series that is junior to outstanding shares of another class or series with respect to payment of dividends unless the amount of the retained earnings of the corporation immediately before the distribution equals or exceeds the amount of the proposed distribution plus the aggregate amount of the cumulative dividends in arrears on all shares having a preference with respect to payment of dividends over the class or series to which the distribution is made.