Extraction of social determinants of health from electronic health records using natural language processing