Estimating the impact of interventions on viral epidemics using epidemiological and evolutionary models