Quantitative measures of mortgage market instability