Fewer apply for home loans as borrowing costs, rising prices shut out prospective homebuyers