Ecological and genetic models of host-pathogen coevolution