Disease transmission dynamics and the evolution of antibiotic resistance in hospitals and communal settings.