Modelling the effects of environmental heterogeneity within the lung on the tuberculosis life-cycle