How nurses are linked to nursing home quality of care