Modeling influenza epidemics and pandemics: insights into the future of swine flu (H1N1)