Host-directed therapies for bacterial and viral infections