Precision epidemiology for infectious disease control