The relationship between quality of care and financial performance in nursing homes