Population uptake and effectiveness of test-and-treat antiretroviral therapy guidelines for preventing the global spread of HIV: an ecological cross-national analysis