Cycles and self-fulfilling crises in open economies with stock collateral constraints under impatience