Knowledge, attitudes and practices on tuberculosis in prisons and public health services