Implicit Contracts, Moral Hazard, and Unemployment