Management practices and the quality of primary care