Timing of HIV diagnosis in children with tuberculosis managed at a referral hospital in Cape Town, South Africa.