Harnessing EMR data and artificial intelligence methods to identify health inequities and support action on the social determinants of health in primary care