Gravar-mail: Associations between structures and resources of primary care at the district level and health outcomes: a case study of diabetes mellitus care in Thailand