Understanding Booms and Busts in Housing Markets