Environmental damage and epidemics