Text this: Using contact network dynamics to implement efficient interventions against pathogen spread in hospital settings