Demand for purchase mortgages down 10 percent from a year ago