Tuberculosis cases linked to NSW hospital