Monitoring risk in the mortgage market