Essays On Mortgage Finance And Housing Markets