Why do HIV-1 subtypes segregate among persons with different risk behaviors in South Africa and Thailand?