The theory of search and the rental housing market