Using capture–recapture methods to study recent transmission of tuberculosis