Essays On Housing Markets And Mortgage Finance