A Search Model of Housing Market Transactions