Understanding the relationship between the distance between patients and primary care providers and quality of care