Unemployment Risk and Debt Contract Design