Higher pathogen load is associated with decreased size of ethnic and religious groups in an area