Bubbles and Crises: The Role of House Prices and Credit