Housing, Credit Markets and the Business Cycle