Continued demand and lack of inventory are driving up the prices of homes at a time when mortgage rates are also climbing.