Crisis in nursing homes blamed on failure to recruit and retain staff